package com.codebattery.config;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author cay91
 * @Date 2020-08-27 11:29 PM
 * @Version 1.0
 */

//@Component
@Data
public class OssUtilBaseConfig {
//    @Value("${oss.endpoint}")
    String endpoint;
//    @NacosValue("${oss.accessKeyId}")
    String accessKeyId;
//    @NacosValue("${oss.accessKeySecret}")
    String accessKeySecret;
//    @NacosValue("${oss.bucketName}")
    String bucketName;
}
